package org.googlecode.viewt.core.tools.web;

public class WebActionImplGenerator extends BaseWebGenerator {
	public String getLoggerCategory() {
		return "WebActionImplGenerator";
	}

	public String getTemplate(String actionName) throws Exception {
		return "java_IMP.vm";
	}

	public String getOutputFile(String actionName) throws Exception {
		return WebActionUtil.fullJavaFileName(getDestPath(), WebActionUtil
				.impActionClass(getPrePackName(), getActionsDef()
						.getProjectName(), getActionsDef().getModuleName(),
						actionName));
	}

	public boolean needGenerate(String actionName) throws Exception {
		return true;
	}

	public void setupContext() throws Exception {
	}

	public void setupContext(String actionName) throws Exception {
	}

	public void cleanContext(String actionName) throws Exception {
	}

	public void cleanContext() throws Exception {
	}
}